package com.atguigu.repservice.service;

import com.atguigu.repservice.entity.RepSubject;
import com.atguigu.repservice.entity.subject.OneSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author ZhuangLiJiao
 * @since 2021-10-15
 */
public interface RepSubjectService extends IService<RepSubject> {

    //1.课程分类列表（树形）
    List<OneSubject> getAllOneTwoSubject();


    //2.添加行业分类
    void saveSubject(MultipartFile file, RepSubjectService subjectService);
}
